package com.cxrj.zhsq.userManage.service;

import java.util.List;
import java.util.Map;

import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;

import com.cxrj.zhsq.userManage.entity.Role;

public interface RoleService {
    Map<String, Object> selectRoleById(String roleId);

    Map<String,Object> selectRolesPager(HttpServletRequest request, HttpServletResponse response);

    void insertRole(Role role, HttpServletRequest request);

    void updateRole(Role role);

    void deleteRole(String roleId);

    Map<String,Object> selectRoleName(String roleName);

    void deleteRolesByIds(String[] roleIds);

    List<Map<String,Object>> selectAllRoles(HttpServletRequest request);

    void updateUserSet(Map<String, Object> paramMap);

    List<Map<String,Object>> selectByUserCode(Map<String, Object> map);
}
